<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>登录页</title>
    <!-- bootstrap -->
    <link rel="stylesheet" href="./lib/bootstrap/css/bootstrap.css">
    <!-- 进度条 -->
    <link rel="stylesheet" href="./lib/nprogress/nprogress.css">
    <link rel="stylesheet" href="./css/common.css">
</head>
<body class="bg-color">

    <!-- 容器 -->
    <div class="container">
        <!-- 行 使用栅格 -->
        <div class="row">
            <!-- 列 -->
            <div class="col-md-4 col-md-offset-4 mt-150">
                <!-- panel-default  这个默认是白色的,需要修改 -->
                <div class="panel panel-primary">
                    <div class="panel-heading">
                        <h3 class="h3">黑马程序员</h3>
                    </div>
                    <div class="panel-body">
                        <!--使用表单 -->
                        <form class="form-horizontal login-form">
                            <!--用户名 -->
                            <div class="form-group">
                              <label for="username" class="col-sm-3 control-label">用户名:</label>
                              <div class="col-sm-9">
                                <input type="text" class="form-control" id="username" placeholder="请输入用户名:如 铁蛋" name="username">
                              </div>
                            </div>
                            <!-- 千万不要忘记加 name属性,如果不加,无法和后台请求数据,会报错 -->
                            <!-- 密码 -->
                            <div class="form-group">
                              <label for="password" class="col-sm-3 control-label">密　码:</label>
                              <div class="col-sm-9">
                                <input type="password" class="form-control" id="password" placeholder="请输入用户名:如 123456" name="password">
                              </div>
                            </div>
                           <!-- 按钮 -->
                            <div class="form-group">
                              <div class="col-sm-offset-3 col-sm-7">
                                  <!-- 重置 -->
                                <button type="submit" class="btn btn-danger pull-left btn-reset">重置</button>
                                  <!-- 登录 -->
                                <button type="submit" class="btn btn-primary pull-right">登录</button>
                              </div>
                            </div>
                          </form>
                    </div>
                  </div>
            </div>
        </div>
      </div>


        <!-- jquery -->
      <script src="./lib/jquery/jquery.min.js"></script>
      <!-- bootstrap -->
      <script src="./lib/bootstrap/js/bootstrap.js"></script>
      <!-- 表单验证 -->
      <script src="./lib/bootstrap-validator/js/bootstrapValidator.js"></script>
      <!-- 进度条 -->
      <script src="./lib/nprogress/nprogress.js"></script>
      <!-- 公共js文件 -->
      <script src="./js/common.js"></script>
      <!-- 自己的js文件 -->
      <script src="./js/login.js"></script>
      <script></script>
</body>
</html>